package com.xj.demo.replacemethod;

import org.springframework.beans.factory.BeanFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestMethodReplace {
	public static void main(String[] args) {
		BeanFactory beanFactory = new ClassPathXmlApplicationContext("methodReplace.xml");
		ClassA bean = beanFactory.getBean(ClassA.class);
		//bean.hello();
		bean.hello("ggg");
	}
}
